<template>
	<view class="all">
		<view class="top" :style="{
					'background-image': $img('https://s4.ax1x.com/2022/01/26/7L6gdP.png'),
		}">
			<my-tab :type="false"></my-tab>
		</view>
		<view class="body">
			<liuyuno-tabs :tabData="list" :activeIndex="current" @tabClick='tabClick' :pingfen='false' back='#F6F6F6' />
			<view class="xian">
			</view>
			<view class="alllist">
				<j-list></j-list>
				<!-- 		<view class="list_1" @click="submit" v-for="(item,index) in 8">
					<view class="list_1i">
						<image src="https://s4.ax1x.com/2022/01/26/7L2fJK.png" />
					</view>

					<view class="list_1_2">
						<view class="list_1_2_1">
							教育前瞻课程课程课程教育前瞻课程课程课程...</view>
						<view class="list_1_2_2">
							<image src="https://s4.ax1x.com/2022/01/26/7LRc6g.png" mode=""></image>
							<text>100</text>
						</view>
					</view>
					<view class="list_1_3">
						<image src="https://s4.ax1x.com/2022/01/26/7LRxtx.png" />
					</view>
				</view> -->
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [{
						name: '推荐',

					}, {
						width: '200rpx',
						name: '精品课程',

					}, {
						name: '纪念章',

					},

				],
				current: 0
			};
		},
		methods: {
			submit() {
				uni.navigateTo({
					url: './jifenxiangqing'
				})
			},
		}
	}
</script>

<style lang="scss">
	.all {
		.alllist {
			padding: 30rpx;

			.list_1 {
				padding: 20rpx;
				background-color: #FFFFFF;
				margin-bottom: 30rpx;
				height: 186rpx;
				border-radius: 10rpx;
				display: flex;
				align-items: center;
				justify-content: space-around;

				.list_1i {
					image {
						width: 126rpx;
						height: 126rpx
					}
				}

				.list_1_3 {
					margin-top: 65rpx;

					image {
						width: 140rpx;
						height: 58rpx
					}
				}

				.list_1_2 {
					position: relative;
					height: 80%;
					width: 54%;
					text-align: center;

					.list_1_2_2 {
						position: absolute;
						bottom: 0;
						display: flex;
						align-items: center;

						image {
							margin-left: 5rpx;
							margin-right: 5rpx;
							width: 40rpx;
							height: 40rpx
						}

						text {
							font-size: 24rpx;
							font-family: HarmonyOS Sans;
							font-weight: 500;
							color: #F1A637;
							opacity: 1;
						}
					}

					.list_1_2_1 {
						overflow: hidden;
						text-overflow: ellipsis;
						display: -webkit-box;
						-webkit-line-clamp: 1;
						-webkit-box-orient: vertical;
						font-size: 32rpx;
						font-family: Source Han Sans CN;
						color: #131314;
						opacity: 1;
					}
				}
			}
		}

		.top {
			padding: 20rpx;
			background-size: 100% 100%;
			background-repeat: no-repeat;
			height: 328rpx;

		}

		.body {
			background-color: #F6F6F6;
			min-height: 1200rpx;

			.xian {
				height: 1rpx;
				background-color: #E3E3E3;
			}
		}
	}
</style>
